/* 布局 */
.header,.footer,#online-loading{position: absolute;	z-index: 110;left: 0;width: 100%;}
.header{
	top: 0;
	box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.ie-title{
	*position: absolute;
	*top: 10px;
	*left: 20px;
}

.footer{
	position: absolute;
	bottom: 0;
	background: #fff;
	box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
	z-index: 120;
}
.wrap{
	height: 100%;
	overflow-y:auto;
	-webkit-overflow-scrolling: touch;
	-webkit-transform: translate3d(0,0,0);
}
.footer-con{
	border-top: 1px solid #d9d9d9;
}
#online-loading{
	top: 50%;
	height: 16px;
	text-align: center;
	margin-top: -8px;
	display: none;
}
#online-loading img{
	border: 0;
}


/* 头像尺寸 */
.face-md{
	width: 24px;
	height: 24px;
	vertical-align: middle;
}
.head-md{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	vertical-align: middle;
}
.head-big{
	width: 60px;
	height: 60px;
	border-radius: 50%;
}
/* 对话流 */
.flow{color: #333;position: relative;}
.flow a{color:#4298ba;}
.flow a:hover{color:#0088ad;text-decoration: underline;}
.flow ul{
	padding:75px 15px;
	*padding:100px 15px;
}
.flow li{margin-bottom: 15px;}
.flow .msg{margin-top: 5px;width: 80%;word-wrap: break-word;word-break: break-all;*overflow: hidden;}
.flow .ser-msg{margin-left: 10px;}
.flow .cli-msg{margin-right: 10px;}
.flow .msg-con{
	position: relative;
	padding: 8px 10px;
	display: inline-block;
	border-radius: 3px;
	font-size: 14px;
	*top: 3px;
}
.flow .msg-img-con{padding: 2px;font-size: 0;}
.flow .ser-msg .msg-con{
	border-top-left-radius: 0;
}
.flow .cli-msg .msg-con{
	border-bottom-right-radius: 0;
}
.flow .img-con{
	min-width: 120px;
	min-height: 30px;
	_width: 100px;
	_height: 20px;
}
/* 箭头 */
.arrow-tl,.arrow-br{
	position: absolute;
	background: #fff;
	height: 0;
	width: 0;font-size: 0;
}
.arrow-br{
	bottom: 0;
	right: -10px;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #f1effc;
	*right: -10px;
	*border-right: 10px solid #fff;
}
.arrow-tl{
	top: 0;
	left: -10px;
	border-left: 10px solid transparent;
	border-top: 10px solid #d1f0ed;
	*left: -10px;
	*border-left: 10px solid #fff;
}
/* 消息状态 */
.msg-status{
	display: inline-block;
	position: absolute;
	width: 20px;
	height: 16px;
	bottom: 0;
	left: -25px;
	margin-top: -8px;
}
/* 消息状态的icon */
.status-success,.status-error{
	display: inline-block;
	width: 16px;
	height: 10px;
	background: url("../images/sendstate.png") no-repeat;
}
.status-success{
	background-position: -16px 0;
}
.status-error{
	background-position: -32px 0;
}
/* 正在输入的状态 */
.ipt-status{
	display: inline-block;
	position: absolute;
	font-size: 12px;
	width: 60px;
	top: 50%;
	left: 100%;
	margin-top: -10px;
	margin-left: 5px;
}
/*------------------------留言框部分 start ---------------------*/
#mechat-message-box{
	position: absolute; 
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	font-size: 14px;
	display: none;
	z-index: 200;
}
#mechat-lvmsg-txt{
	line-height: 20px;
	font-size: 14px;
	max-height: 60px;
	color: #333;
	overflow: hidden;
	word-wrap:break-word;
	white-space: pre-wrap;
	*height: 70px;
}
#mechat-chat-header,#mechat-msgbox-header{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 300;
	height: 50px;	
	background: #1ABC9C;
}
#mechat-msgbox-header{
	height: 50px;
	text-align: center;

}
#mechat-msgbox-header .turn{
	line-height: 50px;
	position: absolute;
	top: 0;
	left: 0;
}
#mechat-chat-header .oper_minbtn{
	position: absolute;
	right: 0;
	top:0;
}
#mechat-msg-title{
	line-height: 53px;
}
#mechat-msg-title .mechat-icon{
	width: 120px;
	text-align: right;
	color: #fff;
	line-height: 24px;
	font-size: 18px;
	margin-left: 12px;	
}
#mechat-msgbox-body{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: auto;
	color: #384047;
	overflow: hidden;
}
#mechat-msgbox-body div{
	margin: 60px 15px 0;
}
#mechat-msgbox-body p{
	margin: 0;
}
#mechat-msgbox-body .mechat-input-txt{
	border:1px solid #ccc;
	font-size: 14px;
	color:#999;
	resize:none;
	height: 110px;
	width: 97%;
	padding: 5px 1.5%;
	margin-top: 13px;
	border-radius: 3px;
	line-height: 20px;
	margin-bottom: 0;
}
#mechat-msgbox-body .mechat-input-layout{
	margin: 15px 0 0;
	border:1px solid #ccc;
	overflow: hidden;
}
#mechat-msgbox-body #mechat-message-email ,#mechat-msgbox-body #mechat-message-phone{
	padding-top:5px;
	padding-bottom: 5px;
	height: 30px;
	line-height: 30px;
	margin-top: 8px;
	margin-bottom: 2px;
}
#mechat-message-submit,#success-btn{
	display: inline-block;
	background: #00CFAC;
	color: #fff;
	font-size: 16px;
	padding: 11px 0;
	width: 100%;
	margin-top: 13px;
	text-align: center;
	border-radius: 4px;
	border:none;
	cursor: pointer;
	text-decoration: none;
	FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#00CFAC,endColorStr=#00C29B); /*IE */
	background: -o-linear-gradient(top,  #00CFAC 0%,#00C29B 100%); /*opera*/
	background:-moz-linear-gradient(top,#00CFAC,#00C29B);/*火狐 */
	background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#00CFAC), to(#00C29B));/*谷歌*/
}
#mechat-msgbox-body a:hover{
	background: #00C29B;
}
#mechat-msgbox-body a:active{
	background: #007A7B;
}
#mechat-msgbox-body #mechat-msgsuccess{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	background: #fff;
	z-index: 100;
	display: none;
	text-align: center;
}
#mechat-msgsuccess .success-img{
	margin-top: 90px;
}
#mechat-msgsuccess .success-img img{
	width: 80px;
	height: 63px;
}
#mechat-msgsuccess h2{
	font-size: 18px;
	font-weight: bold;
	padding: 10px 0;
	color: #333;
}
#mechat-msgsuccess p{
	width: 250px;
	margin: 0 auto;
	line-height: 24px;
	font-size: 16px;
	color: #666;
}
#mechat-msgsuccess .succes-btns{
	margin: 15px 0 0;
}
#mechat-msgsuccess .succes-btns p{
	margin-top: 15px;
	text-align: center;
}
#mechat-msgsuccess .succes-btns p a{
	color: #4298ba;
}
#mechat-msgsuccess .succes-btns p a:hover{
	color: #0088ad;
	background:none;
	text-decoration: underline;
}
#success-btn{
	width: 130px;
}
/*------------------------留言框部分  end  ---------------------*/
.img-sending{
	top:0;
	left: 0;
}
.img-sending p{
	position: absolute;
	text-align: center;
	top: 50%;
	width: 100%;
	color: #6F87BB;
	margin-top: -10px;
	font-size: 14px;
}
.img-file{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 0;
	filter:Alpha(Opacity=0); 
}

/* 客服转接的样式*/


/*------------------------notice---------------------*/
.notice{
	position: absolute;
	left: 50%;
	bottom: 100px;
	padding: 5px 10px;
	z-index: 9999999;
	border-radius: 5px;
	color: #9F9876;
	background: #FBF8EA;
	border:1px solid #D5CEAF;
}
/* ---- 通知条 ---- */
#notice_bar{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;	
	color: #fff;
	background: #f6bc66;
	z-index: 90;
	opacity: 0.95;
	filter:alpha(opacity=95);
	display: none;
}
/* -- 离线提醒 -- */
#leaveTips,#leaveTips .tips-shadow,#leaveTips .tips-title{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	display: none;
}
#leaveTips{
	z-index: 121;
}
#leaveTips .tips-shadow{
	background: #000;
	opacity: 0.08;
	filter:alpha(opacity=8);
}
#leaveTips .tips-title{
	top: 50%;
	height: 20px;
	color: #e66b62;
	margin-top: -10px;
	text-align: center;
	display: none;
}
